package ai.people.netmon.framework.domain.ucenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xing.wei
 * @since 2021-12-28 18:57:37
 */
//@TableName(value = "nm_sys_menu", schema = "webservice")
@TableName(value = "nm_sys_menu")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = false)
public class NmSysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableField(value = "id")
    private Long id;

    /**
     * 父id
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 菜单名称
     */
    @TableField(value = "menu_name")
    private String menuName;

    /**
     * 菜单昵称
     */
    @TableField(value = "menu_nick_name")
    private String menuNickName;

    /**
     * 菜单类型
     */
    @TableField(value = "menu_type")
    private Integer menuType;

    /**
     * 菜单路径
     */
    @TableField(value = "menu_path")
    private String menuPath;

    /**
     * 组件路径
     */
    @TableField(value = "component_path")
    private String componentPath;

    /**
     * 菜单级别
     */
    @TableField(value = "menu_level")
    private Integer menuLevel;

    /**
     * 菜单图标
     */
    @TableField(value = "menu_icon")
    private String menuIcon;

    /**
     * 开关
     */
    @TableField(value = "is_enable")
    private Integer isEnable;

    /**
     * 是开放
     */
    @TableField(value = "is_open")
    private Integer isOpen;

    /**
     * 是可见
     */
    @TableField(value = "is_visible")
    private Integer isVisible;

    /**
     * 订单num
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     *
     */
    @TableField(value = "perms")
    private String perms;

    /**
     * 创建用户id
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableId(value = "rowid")
    private Long rowid;

}